public class TestCourseSystem {
     public static void main(String[] args) {
         Course javaCourse = new Course("C001", "Java程序设计", "教学楼A301", "周一上午9:00-11:00");
         Course mathCourse = new Course("C002", "高等数学", "教学楼B202", "周二下午14:00-16:00");
         Teacher wangTeacher = new Teacher("T001", "王老师", "女", javaCourse);
         Teacher liTeacher = new Teacher("T002", "李老师", "男", mathCourse);
         Student zhangStudent = new Student("S001", "张三", "男");
         Student liStudent = new Student("S002", "李四", "女");
         System.out.println(wangTeacher.getName() + " 讲授课程：" + wangTeacher.getTaughtCourse().getCourseName());
         System.out.println(liTeacher.getName() + " 讲授课程：" + liTeacher.getTaughtCourse().getCourseName());
         zhangStudent.selectCourse(javaCourse);
         liStudent.selectCourse(mathCourse);
         zhangStudent.dropCourse();
         zhangStudent.selectCourse(mathCourse);
         zhangStudent.printCourseSchedule(liTeacher);
         liStudent.printCourseSchedule(liTeacher);
              }
          }    